package mybean.data;

import com.sun.rowset.CachedRowSetImpl;

public class ShowByPage
{
  CachedRowSetImpl rowSet = null;
  int pageSize = 10;
  int pageAllCount = 0;
  int showPage = 1;
  StringBuffer presentPageResult;
  
  public void setRowSet(CachedRowSetImpl set)
  {
    this.rowSet = set;
  }
  
  public CachedRowSetImpl getRowSet()
  {
    return this.rowSet;
  }
  
  public void setPageSize(int size)
  {
    this.pageSize = size;
  }
  
  public int getPageSize()
  {
    return this.pageSize;
  }
  
  public int getPageAllCount()
  {
    return this.pageAllCount;
  }
  
  public void setPageAllCount(int n)
  {
    this.pageAllCount = n;
  }
  
  public void setShowPage(int n)
  {
    this.showPage = n;
  }
  
  public int getShowPage()
  {
    return this.showPage;
  }
  
  public void setPresentPageResult(StringBuffer p)
  {
    this.presentPageResult = p;
  }
  
  public StringBuffer getPresentPageResult()
  {
    return this.presentPageResult;
  }
}
